<template>
    <div class="common-layout">
        <el-container>
            <el-header>
                <f-header/>
            </el-header>
            <el-container>
                <el-aside :width="useLayout.asideWidth">
                    <f-menu/>
                </el-aside>
                <el-main>
                   <f-tag-list/>
                    <router-view></router-view>
                </el-main>
            </el-container>
        </el-container>
    </div>
</template>

<script setup>
import { useLayoutStore } from '@/stores/index'
const useLayout = useLayoutStore();

import FHeader from './components/FHeader.vue';
import FMenu from './components/FMenu.vue';
import FTagList from './components/FTagList.vue';
</script>

<style scoped>
.el-aside{
    transition: all 0.2s;
}
</style>